home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 47.7z
/
BS1 part 47
/
ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 6 of 7)[HD].7z
/
ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 6 of 7)[HD].adf
/
piarc.lzh.parta
/
davetest.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-03-17
|
1KB
|
56 lines
/*
* TRENDTEST.rexx does a simple contrast trend over a sequence
*
* The name of this script should be put in as the pre-render script.
*
* This example takes special actions at the first frame and the
* last frame; however, these actions could alternatively be done in
* the beginning and ending script.
*/
parse arg iframe nframe '"' renderfile '"'
address('IM_Port');
if iframe = 1 then do
options results;
'trenddraw "TestRotation" 1 '||nframe||' 0 360 0 "Rotation Trend"';
'trenddraw "TestBlue" 1 '||nframe||' 0 255 0 "Blue Trend"';
red = 0;
grn = 0;
'askprop "Width(in pixels):"10 1 100';
size=result;
'askprop "% Center Saturation Percent:" 5 0 100';
satur=result;
'askyn "Taper Off" "Taper On"';
taper = result;
'askprop "Number of arms:" 4 0 100';
arms = result;
'askyn "Non-Additive" "Additive"';
add = result;
'askyn "No Center Hot Spot" "Center Hot Spot"';
hot = result;
options;
'messagelow Now select the area to be Asterized';
'area';
end;
options results;
'trendget "TestRotation" ' iframe;
rot = result;
'trendget "TestBlue" ' iframe;
blu = result;
options;
'asterize 'red grn blu size satur taper arms rot add hot;
if iframe = nframe then do
'trendkill "TestRotation"'; /* Don't do this if you want to keep the curve */
'trendkill "TestBlue"';
end;
'finish';
exit 0;